const storageUtils = {
  THEME: 'theme',
  K_LINE_INTERVAL: 'k_line_interval',

  /**
   * 保存数据
   * @param key
   * @param value
   */
  saveValue (key, value) {
    window.localStorage.setItem(key, value)
  },

  /**
   * 或者数据
   * @param key
   */
  getValue (key) {
    return window.localStorage.getItem(key)
  }
}

export default storageUtils
